import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Home from '@/components/Home'
import Search from '@/components/Search'

Vue.use(Router);

export default new Router({
  linkActiveClass: 'mui-active',
  routes: [
    {path: '/', redirect: '/home'},
    {path: '/hello', component: Hello},
    {path: '/home', component: Home},
    {path: '/search', component: Search}
  ]
})
